package cn.edu.hqu.cst.android.XZY.Experiment2;

import androidx.appcompat.app.AppCompatActivity;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;

public class UC2 extends AppCompatActivity {

    private Button retenbutton2;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_u_c2);
        retenbutton2=findViewById(R.id.retbut2);
        retenbutton2.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                //返回至主界面
                Intent intent1 = new Intent(UC2.this,MainActivity.class);
                startActivity(intent1);
            }
        });
    }
}